

import wx
import OgreEditorFrame

import environment
e = environment

#----------------------------------------------------------------------
def main():
	##
	app = wx.PySimpleApp()
	frame = OgreEditorFrame.AUIFrame(None, wx.ID_ANY, "wx.aui wxPython Demo", size=(1024, 768))

	##
	frame.initPlugin('OgreWindowPlugin')
	frame.initPlugin('CameraPlugin')
	frame.initPlugin('SceneSelectorPlugin')
	frame.initPlugin('TransformControl')
	frame.initPlugin('SceneTreePlugin')
	frame.initPlugin('PyCrustPlugin')
	frame.initPlugin('XmlScenePlugin')
	frame.initPlugin('EditPlugin')
	frame.initPlugin('AabbSet','AabbSetPlugin.')

	##
	frame.getAuiManager().Update()
	frame.Show(True)
	app.MainLoop()


if __name__ == '__main__':
	main()
